//
//  TripsDatabase.h
//  chanyou
//
//  Created by leon on 15/1/9.
//  Copyright (c) 2015年 wanli. All rights reserved.
//

#import <Foundation/Foundation.h>
@class TripsModel;
@interface TripsDatabase : NSObject

+ (BOOL)insertIntoTravelWithTripsModel:(TripsModel *)trips;
+ (NSArray *)searchAllTravelsWithWeiboId:(NSInteger)weiboId;
+ (NSInteger)searchWeiboId;
+ (void)deleteFromTrips:(NSInteger)tripsId;
+ (void)deleteFromTrips:(NSInteger)tripsId weiboId:(NSInteger)weiboId;

@end
